home *** CD-ROM | disk | FTP | other *** search
/ funcom 2000 Presskit / 000721_1312 (fun.com).iso / funcom.dir / 00017_Script_track < prev    next >
Text File  |  2000-07-20  |  287b  |  16 lines

  1. on mouseWithin me
  2.   global newPos
  3.   if the mouseH >50 AND the mouseH <752 then
  4.     set the locH of sprite (the spriteNum of me)+1 to the mouseH
  5.     set newPos to the mouseH
  6.     slide
  7.   end if
  8. end
  9.  
  10. on slide
  11.   global newPos
  12.   set the locH of sprite 11 to (800-newPos)
  13. end
  14.  
  15.  
  16.